import service from '@/utils/request'

export const yrzycontent = () => {
  return service({
    url: '/yrzy/yrzycontent',
    method: 'post'
  })
}

export const yrzyGetidContent = (params) => {
  return service({
    url:'/yrzy/yrzyGetidContent',
    method:'get',
    params
  })
}

export const yrzyCreateContent = (data) => {
  return service({
    url:'/yrzy/yrzyCreateContent',
    method:'post',
    data
  })
}

export const yrzyDeleteContent = (params) => {
  return service({
    url:'/yrzy/yrzyDeleteContent',
    method:'delete',
    params
  })
}

export const yrzyUpdateContent = (data) => {
  return service({
    url:'/yrzy/yrzyUpdateContent',
    method:'put',
    data
  })
}